/**
 * Created by fanfz on 2016/8/8 0008.
 */
window.onload = function () {
    var title = document.getElementById('title');
    var ol = document.getElementsByTagName('ol');
    var a = ol[0].getElementsByTagName('a');

    for (i=0;i<a.length;i++) {
        a[i].className = null;
        if (title.innerHTML == a[i].innerHTML) {
            a[i].className = 'selected';
        }
    }
};
function checkForm()
{
    var fm=document.getElementsByName('shipping');
    if(fm.name=='')
    {
        alert('请输入物流名');
        return false;
    }
}

